<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0087)https://trade.ehowbuy.com/newpc/pcfund/module/pcfund/view/contractAdd.html?method=apply -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="${pageContext.request.contextPath}/image/logo.png" rel="Shortcut Icon">
    <meta name="keywords" content="基金,网上交易,基金网上交易平台,好买基金网上交易平台">
    <meta name="description" content="好买基金网上交易平台，我们为您提供便捷、安全的基金网上交易服务。买基金，找最懂的！">
    <title>基金定投 - 好买基金交易网</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/automatic/css/common.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/automatic/css/component.util.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/automatic/css/pcfund.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/automatic/css/autocomplete.css">
<style id="tsbrowser_video_independent_player_style" type="text/css">
      [tsbrowser_force_max_size] {
        width: 100% !important;
        height: 100% !important;
        left: 0px !important;
        top: 0px !important;
        margin: 0px !important;
        padding: 0px !important;
        transform: none !important;
      }
      [tsbrowser_force_fixed] {
        position: fixed !important;
        z-index: 9999 !important;
        background: black !important;
      }
      [tsbrowser_force_hidden] {
        opacity: 0 !important;
        z-index: 0 !important;
      }
      [tsbrowser_hide_scrollbar] {
        overflow: hidden !important;
      }
      [tsbrowser_display_none] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
      }
      [tsbrowser_force_show] {
        display: black !important;
        visibility: visible !important;
        opacity: 0;
      }</style></head>
<body style="">
        <div class="gray_bg1 white tradeTitle">
            <div class="w1kp lh28 cf">
                <p class="fl" data-bind="text: &#39;你好，&#39;+custName " id="headerCustName">你好，${requestScope.client.cAccount}</p>
                <div data-bind="html: headerHtml" id="headerMenu"><a class="tdu blue pl15 fl" href="https://trade.ehowbuy.com/login/loginout.htm?targeturl=https://trade.ehowbuy.com/newpc/pcfund/module/pcfund/view/contractAdd.html?method=apply">退出</a><div class="fr tradeTitle_arrow pl10 p_r ml20"><a class="white fl pr3" target="_blank" href="http://www.howbuy.com/mobile/">移动客户端</a><em class="fl">&nbsp;</em><ul class="lh30 white_bg hide"><li class="pl10"><a target="_blank" href="http://www.howbuy.com/mobile/iphone/">掌上基金</a></li><li class="pl10"><a class="tradeTitle_ios" target="_blank" href="https://itunes.apple.com/cn/app/zhang-shang-ji-jin/id460275163?mt=8">iPhone</a></li><li class="pl10"><a class="tradeTitle_ios" target="_blank" href="https://itunes.apple.com/cn/app/zhang-shang-ji-jinhd/id691849369?mt=8">iPad</a></li><li class="pl10"><a class="tradeTitle_Android" target="_blank" href="http://m.howbuy.com/zsjjandroid">Android</a></li><li class="pl10"><a target="_blank" href="http://www.howbuy.com/mobile/trust/">信托大全</a></li><li class="pl10"><a class="tradeTitle_ios" target="_blank" href="https://itunes.apple.com/cn/app/xin-tuo-da-quan/id605668322?mt=8">iPhone</a></li><li class="pl10"><a class="tradeTitle_Android" target="_blank" href="http://m.howbuy.com/xtdqandroid">Android</a></li></ul></div><div class="fr tradeTitle_arrow pl10 p_r ml20"><a class="white fl pr3" target="_blank" href="http://www.howbuy.com/fundtool/">基金工具</a><em class="fl">&nbsp;</em><ul class="lh30 white_bg hide"><li class="pl10"><a target="_blank" href="http://www.howbuy.com/fundtool/zixuan.htm">自选基金</a></li><li class="pl10"><a target="_blank" href="http://www.howbuy.com/myfund/index.htm">基金账本</a></li><li class="pl10"><a target="_blank" href="http://www.howbuy.com/fundtool/filter.htm">基金筛选</a></li><li class="pl10"><a target="_blank" href="http://www.howbuy.com/fundtool/compare.htm">基金对比</a></li><li class="pl10"><a target="_blank" href="http://www.howbuy.com/webRiskResearch/fundinvestdetail.htm">基金诊断</a></li></ul></div><div class="fr tradeTitle_arrow pl10 p_r ml20"><a class="white fl pr3" target="_blank" href="http://www.howbuy.com/board/">基金数据</a><em class="fl">&nbsp;</em><ul class="lh30 white_bg hide"><li class="pl10"><a target="_blank" href="http://www.howbuy.com/fund/fundranking/">基金排名</a></li><li class="pl10"><a target="_blank" href="http://www.howbuy.com/fund/fundaip/">定投排名</a></li><li class="pl10"><a target="_blank" href="http://www.howbuy.com/fund/newissue/">新发基金</a></li><li class="pl10"><a target="_blank" href="http://www.howbuy.com/fund/bonus/queryfundbonus.htm">基金分红</a></li><li class="pl10"><a target="_blank" href="http://www.howbuy.com/fund/company/">公司排名</a></li><li class="pl10"><a target="_blank" href="http://www.howbuy.com/fund/manager/">经理排名</a></li></ul></div><a class="tdu white fr ml30" target="_blank" href="https://www.ehowbuy.com/help/sub/security.html">安全保障</a><a class="tdu white fr ml30" target="_blank" href="http://www.howbuy.com/fund/trade/single/gupiao">基金选购</a><a class="tdu white fr ml30" target="_blank" href="http://www.howbuy.com/fund/trade">基金超市</a></div>
            </div>
        </div>
        <!--搜索 begin-->
        <div class="mt20 p_r tradeSearch" data-bind="html:tradeSearchHtml" id="tradeSearch"><div class="w1kp cf"><div class="fr f14 pt5 p_r"><div class="searchList searchList1 hide"><table></table><p class="noneWord hide">未找到符合条件的结果</p><p class="moreWord">查看全部&gt;&gt;</p></div><input class="fl pl5" type="text" autocomplete="off" defv="基金代码/简称/简拼" value="基金代码/简称/简拼" onfocus="javascript:if(this.value==$(this).attr(&#39;defv&#39;)){this.value=&#39;&#39;;}" onblur="javascript:if(this.value==&#39;&#39;){this.value=$(this).attr(&#39;defv&#39;);$(this).css({color : &#39;#999&#39;})} " onkeydown="javascript:$(this).css({color : &#39;#000&#39;})" id="searchFund"><input class="fl white" type="button" value="搜索" id="searchFundBtn"></div></div></div>
        <!--搜索 end-->
        <div data-bind="html:checkantiHtml" id="checkantiHtml"></div>
        <!--导航 begin-->
        <div class="tradeNav p_r mt10" id="navsDiv">
            <div class="w1kp cf f14 fwb p_r">
                <p>
                    <a href="https://trade.ehowbuy.com/newpc/pcfund/module/pcfund/view/index.html" target="_self"><span>我的资产</span></a>
                </p>
                <p>
                    <a href="https://trade.ehowbuy.com/newpc/pcfund/module/pcfund/view/piggyIndex.html" target="_self"><span>储蓄罐</span></a>
                </p>
                <p>
                    <a href="https://trade.ehowbuy.com/newpc/pcfund/module/pcfund/view/buyFund.html" target="_self"><span>基金交易</span></a>
                </p>
                <p class="on">
                    <a href="https://trade.ehowbuy.com/newpc/pcfund/module/pcfund/view/contractIndex.html" target="_self"><span>基金定投</span></a>
                </p>
                <p>
                    <a href="https://trade.ehowbuy.com/newpc/pcfund/module/pcfund/view/queryTradeTradeRecord.html" target="_self"><span>交易查询</span></a>
                </p>
                <p>
                    <a target="_self" data-bind="attr:{ href: accountManagermentUrl }" href="https://trade.ehowbuy.com/account/acctmgt.htm"><span>账户管理</span></a>
                </p>
                <p class="simu">
                    <a target="_blank" data-bind="attr:{href:simuPlatformUrl}" href="https://simu.ehowbuy.com/user/index.htm">私募交易平台</a>
                </p>
            </div>
        </div>
        <!--导航 end-->

        <div class="w1kp cf" style="position: relative;">
            <ul class="cxgLeft fl gray6 f14" style="position: absolute; top: 0; bottom: 0;">
                <li ><a href="/Anonymous/automaticWeb" class="gray6 db">我的定投资产</a></li>
                <li class="on"><a href="/Anonymous/addAutomaticWeb">新增定投计划</a></li>
                <!--<li><a href="https://trade.ehowbuy.com/newpc/pcfund/module/pcfund/view/contractList.html" class="gray6 db">定投合约管理</a></li>-->
            </ul>
            <div class="cxgRight fr pt10" id="addContent">
                <div class="cxgRightTitle lh36 cf">
                    <p class="fyahei f20 fl">新增定投</p>
                    <a class="fyahei fr colora f12 tips">查看定投提示&gt;&gt;</a>
                </div>
                <div class="cxgStoreRight" data-bind="validationOptions:{insertMessages:false}">


                    <div class="pt20 pb20 cxgStoreMain" data-bind="visible: addStep() == &#39;1&#39;">
                        <div class="cf tac f16 lh32 gray9 step_three fyahei">
                            <p class="fl w35">定投基金</p>
                            <p class="fl w35 on">预览定投计划</p>
                            <p class="fl w30 noBgImg">定投申请受理</p>
                        </div>
                        <table width="100%" class="mt30">
                            <tbody><tr>
                                <td width="20%">
                                    <p class="pl30"><span class="sprit_pt sp_pic_10"></span></p>
                                </td>
                                <td class="pr50 gray6">
                                    <p class="f14 fwb gray3">
                                        <span>您即将购买</span>
                                        <span class="yellow ml10" data-bind="text: fundAttr">${requestScope.fName}</span>
                                        <span data-bind="text: &#39;（&#39;+fundCode()+&#39;）&#39; ">（${requestScope.automaticData.fId}）</span>
                                    </p>
                                    <p class="pt20 f14 lh26 gray3"><span>每期定投金额：</span><strong data-bind="text: appAmtNum">${requestScope.automaticData.apmMoney}</strong><span>元</span></p>
                                    <!--<p class="pb20 f14 lh26 gray3"><span>大写金额：</span><strong data-bind="text: capsAppAmt"></strong></p>-->
                                    <p class="lh28" data-bind="text: &#39;收费方式：&#39;+shareClassName() ">收费方式：前收费</p>
                                    <p class="lh28" data-bind="text: &#39;下单日期：&#39;+orderDt()">下单日期：${requestScope.automaticData.startTime}</p>

                                    <!-- ko if:pmtMode()=='06'--><!-- /ko-->
                                    <!-- ko if:pmtMode()=='01'--><!-- /ko-->
                                    <!-- ko if:pmtMode()=='04'-->
                                    <p class="lh28"><span>买入方式：</span><strong>储蓄罐</strong><span data-bind="text: &#39;(&#39;+bankName()+&#39; **&#39;+bankAcct()+&#39;)&#39; ">(账户：${requestScope.cAccount})</span></p>
                                    <!-- /ko-->
                                    <!-- ko if:pmtMode()=='01'--><!-- /ko-->
                                    <br/>
                                    <p class="cf">
                                        请输入交易密码：<br/>
                                        <input class="storeVerifyPwd fl" type="password" id="buyPassword" maxlength="6" placeholder="基金交易密码，非银行密码" >
                                        <span class="cxgStore_account_error dib red1 lh26 pl30 pr5 mt3 ml10 fl" id="passwordError" data-bind="visible:tradePasswordErrorVisible,text:tradePasswordError,validationMessage: tradePassword" style="width: 110px">请输入交易密码</span>
                                    </p>
                                </td>

                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <!-- ko if: addStep() == '1'-->
                    <div class="bort_gray1">
                        <div class="cxgStoreNext pt25 pb25">
                            <table width="100%">
                                <tbody>
                                    <tr>
                                        <td width="20%"></td>
                                        <td>
                                            <a id="nextStep" class="dib f14 fwb lh28 depositBtn white depositBtnOff" style="width: 84px;padding:0;" >下一步</a>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>

                    <!-- 绑定银行卡 -->
                    <div class="pop pop25">
                        <div class="cxgcont w400 pt15 pb15 pl15 pr15">
                            <p class="tac f14 pt30 pb30">您没有可以使用的银行卡，建议您立即绑定。</p>
                            <div class="bor_t_gray1 tac pb20">
                                <a class="cashBtn ml10 fwb mr10" href="https://trade.ehowbuy.com/newpc/pcfund/module/pcfund/view/index.html">返回</a>
                                <a class="f14 fwb lh28 depositBtn white mt30" target="_self" data-bind="attr:{ href:bindBankCard }" href="https://trade.ehowbuy.com/account/bindcard.htm??targeturl=https://trade.ehowbuy.com/newpc/pcfund/module/pcfund/view/contractAdd.html?method=apply">立即绑定</a>
                            </div>
                        </div>
                    </div>

                    <div class="pop pop7" style="display: none;">
                        <div class="cxgcont w400 pt15 pb15 pl15 pr15" style="display: block;">
                            <p class="tac f14 fwb pt30 pb30">您的风险测评已过期，请重新测评</p>
                            <div class="bor_t_gray1 tac pb20">
                                <a class="f14 fwb lh28 depositBtn white mt30" href="https://trade.ehowbuy.com/newpc/pcfund/module/pcfund/view/riskevaluation.html">重新测评</a>
                            </div>
                        </div>
                    </div>
                    <div class="pop pop22" style="display: none;">
                        <div class="cxgcont w490 pt15 pb15 ">
                            <p class="tac fwb yellow f20 fyahei pt10">未完成风险测评</p>
                            <p class="gray3 f14 lh28 pt30 pl90"><span>您当前未完成风险测评，完成风险测评之后可购买产品</span></p>
                            <div class="tac pt20 pb20">
                                <a class="cashBtn ml10 fwb" href="javascript: history.back()">取消</a>
                                <a class="depositBtn ml10 fwb white" href="https://trade.ehowbuy.com/newpc/pcfund/module/pcfund/view/riskevaluation.html">风险评测</a>
                            </div>
                        </div>
                    </div>
                    <div class="pop pop23" style="display: none;">
                        <div class="cxgcont w490 pt15 pb15 ">
                            <p class="tac fwb yellow f20 fyahei pt10">该产品超出您的风险等级</p>
                            <p class="gray3 f14 lh28 pt30 pl90"><span>您的风险承受能力为“最低”，只能购买活期、活期+、</span><br><span>定期、货币及理财型基金</span></p>
                            <div class="tac pt20 pb20">
                                <a class="cashBtn ml10 fwb" href="javascript: history.back()">放弃购买</a>
                                <a class="depositBtn ml10 fwb white" href="https://trade.ehowbuy.com/newpc/pcfund/module/pcfund/view/riskevaluation.html">重新评测</a>
                            </div>
                        </div>
                    </div>
                    <div class="pop pop24" style="display: none;" id="highDia">
                        <div class="cxgcont w490 pt15 pb15 ">
                            <p class="tac fwb yellow f20 fyahei pt10">超出风险等级确认</p>
                            <p class="gray3 f14 lh28 pt30 pl90"><span>我已知晓该产品超出本人的风险承受能力。我坚持购买，</span><br><span>并自愿承担可能产生的一切不利后果和损失。购买过程中</span><br><span>销售机构未对我进行主动推介。</span></p>
                            <div class="tac pt20 pb20">
                                <a class="cashBtn ml10 fwb" data-bind="click: btnLeft">取消</a>
                                <a class="depositBtn ml10 fwb white" data-bind="click: btnRight">特此确认</a>
                            </div>
                        </div>
                    </div>
                    <!-- /ko-->
                    <!-- ko if: addStep() == '2'--><!-- /ko-->
                    <!-- ko if: addStep() == '3' || addStep() == '4'--><!-- /ko-->
                    <!-- ko if: addStep() == '4'--><!-- /ko-->

                    <!--定投规则-->
                    <div class="pop pop3">
                        <a href="https://trade.ehowbuy.com/newpc/pcfund/module/pcfund/view/contractAdd.html?method=apply#" class="pop_close" target="_self"></a>
                        <div class="cxgcont w540 pt15 pb15 pl15 pr15">
                            <p class="f14 fwb lh16 pb10 pop_title">定投规则</p>
                            <ul class="pop_inner gray6 lh24 pt10 pb10">
                                <li><span>提示：</span><br><span>1、合约签订成功后，将于D+1个自然日生效（例如，您1月1日签订或修改合约，那合约内容将于1月2日生效）。</span></li>
                                <li class="mt20">2、扣款日为发起定投交易的日期，扣款日为非交易日的情况将顺延至最近一个交易日执行，跨月不顺延。 </li>
                                <li class="mt20">3、扣款失败顺延是指合约于扣款日（交易日）扣款失败，会继续在下一个T日发起一次扣款操作来保障定投合约的连续性的功能。 </li>
                            </ul>
                            <div class="tac pt20 pb20">
                                <a class="cashBtn ml10 fwb tips_close" href="https://trade.ehowbuy.com/newpc/pcfund/module/pcfund/view/contractAdd.html?method=apply#">我知道了</a>
                            </div>
                        </div>
                    </div>

                    <!-- 出现弹框时背景 -->
                    <div class="dialog hide"></div>

                </div>
            </div>
        </div>
    

    <script type="text/javascript" src="${pageContext.request.contextPath}/automatic/js/jquery.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/automatic/js/jquery-ui-1.9.2.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/automatic/js/knockout.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/automatic/js/knockout.validation.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/automatic/js/autocomplete.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/automatic/js/jsencrypt.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/automatic/js/hbencrypt.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/automatic/js/xss.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/automatic/js/bluebird.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/automatic/js/crypto-js.js"></script>
    <!-- 基金数据 购买基金输入框自动搜索功能需要-->
    <!-- <script type="text/javascript" src="https://static.ehowbuy.com/tstatic/js/web/trade/dynamic/funds.js?v=1626231180410"></script> -->
    <!-- 基金数据 购买基金输入框自动搜索功能需要-->
    <!-- 业务逻辑 -->
    <script type="text/javascript" src="./基金定投 - 好买基金交易网_files/antiCheck.js"></script>
    <script type="text/javascript" src="./基金定投 - 好买基金交易网_files/contractAdd.js"></script>
    <!-- 入口文件 -->
    <script type="text/javascript" src="./基金定投 - 好买基金交易网_files/main.js"></script>
    <script type="text/javascript" src="./基金定投 - 好买基金交易网_files/header.js"></script><div class="footer"><ul><li class="nav"><a href="https://www.ehowbuy.com/help/sub/qtwd/qyxz.pdf">投资者权益须知</a>|<a href="https://www.ehowbuy.com/help/sub/qtwd/jjtzjysc.pdf">投资者教育手册</a>|<a href="https://www.ehowbuy.com/help/sub/contactus.html">联系我们</a>|<a href="https://www.ehowbuy.com/help/sub/safetyguidelines.html">交易安全指引</a>|<a href="https://www.ehowbuy.com/help/sub/xsryzz.html">销售人员资质</a>|<a href="https://www.ehowbuy.com/help/sub/jjdxxk.html">基金代销许可</a>|<a href="https://www.ehowbuy.com/help/sub/zjzhgs.html">资金账户公示</a>|<a href="https://www.ehowbuy.com/help/sub/index.html">帮助中心</a></li><li>客服/投诉热线：400-700-9665（周一至周日9:00-20:00）&nbsp;&nbsp;客服传真：021-68596916&nbsp;&nbsp;客服/投诉邮箱：<a href="mailto:service@howbuy.com">service@howbuy.com</a>&nbsp;&nbsp;证监会投诉电话:010－66210182、66210166</li><li>办公地址：上海市浦东南路1118号鄂尔多斯国际大厦903~906室&nbsp;&nbsp;邮编：200120</li><li>版权所有 好买基金 Copyright©ehowbuy.com, inc 2017. All rights reserved. <a href="https://beian.miit.gov.cn/">[ICP备11048127号]</a></li><li style="color:#999;">风险提示：投资有风险。基金的过往业绩并不预示其未来表现。基金管理人管理的其他基金的业绩并不构成基金业绩表现的保证。相关数据仅供参考，不构成投资建议。投资人请详阅基金合同和基金招募说明书，并自行承担投资风险。</li><li style="margin-top:10px;"><a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=31010902001261" target="_blank"><img src="./基金定投 - 好买基金交易网_files/picp_bg.png" alt=""></a><a href="https://scjgj.sh.gov.cn/lz/licenseLink.do?method=licenceView&amp;entyId=dov73ne26zbqq0isy0x2bbegxk7flutvkn" target="_blank" style="margin-left:10px"><img src="./基金定投 - 好买基金交易网_files/gongs.jpg" border="0"></a></li></ul></div><a rel="nofollow" target="_blank" id="howbuyQQ" style="top: 300px;position: fixed;right: 0;z-index: 99999;" href="http://wpa.b.qq.com/cgi/wpa.php?ln=2&amp;uin=4007009665"><img src="./基金定投 - 好买基金交易网_files/howbuyQQ.png"></a><div class="dialog2" style="display: none;"><div class="c_loading"><ul><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li><li>&nbsp;</li></ul><p>加载中...</p></div></div>
    <script type="text/javascript">
        $("#nextStep").click(function(){
            $.ajax({
                url : "/Anonymous/addAutomatic2",//请求地址
                type : "post",//请求方式
                async : false,//是否异步请求
                dataType:'json',
                data:{
                    buyPassword: $("#buyPassword").val()
                },
                success:function(data){
                    window.location.href=data.url;
                }
            });
        });

    </script>
    <script type="text/javascript">
    $(function () {
        $(".toAccount .toAccountPart").click(function () {
            $(this).addClass("toAccount_get mr10").removeClass("mb1 mt1 ml1 mr11").siblings("div").addClass("mb1 mt1 ml1 mr11").removeClass("toAccount_get mr10");
        })
    })
    </script>

    <script type="text/javascript">
        popShow($(".tips"), $('.pop3'));
        popHide($(".pop_close, .tips_close"), $('.pop3'));
    </script>
&gt;
<div style="position: absolute;top: 45px;left: 240px;width: 300px;">
			<img style="width: 80px;height: 80px;" src="${pageContext.request.contextPath}/automatic/img/logo.png"></img><h1 style="position: absolute;top: 30px;left: 100px;font-size:32px;font-weight: bold;">基金交易平台</h1>
		</div>
</body></html>